package com.pojoin.cms.domain.alter;

import java.util.Date;
import java.util.Set;

import com.pojoin.cms.domain.Resource;
import com.pojoin.cms.domain.Role;

public class ResourceAlter implements Resource {
	
	protected Long resourceId;
	protected Long parentId;
	protected Date createDate;
	protected String name;
	protected String privilegeCode;
	protected String remark;
	protected String title;
	protected Set<Role> roles;
	protected String url;

	@Override
	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setPrivilegeCode(String privilegeCode) {
		this.privilegeCode = privilegeCode;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public void setRoles(Set<Role> roles) {
		this.roles = roles;
	}

	@Override
	public Date getCreateDate() {
		return this.createDate;
	}

	@Override
	public String getName() {
		return this.name;
	}

	@Override
	public String getPrivilegeCode() {
		return this.privilegeCode;
	}

	@Override
	public String getRemark() {
		return this.remark;
	}

	@Override
	public Long getResourceId() {
		return this.resourceId;
	}

	@Override
	public String getTitle() {
		return this.title;
	}

	@Override
	public Set<Role> getRoles() {
		return this.roles;
	}

	@Override
	public Long getParentId() {
		return this.parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

}
